package com.gxa.service.impl;

import com.gxa.common.R;
import com.gxa.mapper.CustomerTypeMapper;
import com.gxa.pojo.Customer_Type;
import com.gxa.service.CustomerTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public class CustomerTypeServiceImpl implements CustomerTypeService {
    @Autowired(required = false)
    private CustomerTypeMapper customerTypeMapper;
    @Override
    public R addCustomerType(Map map) {
        int x1=customerTypeMapper.addCustomerType(map);
        int i=1/0;
        int x2=customerTypeMapper.addPayType(map);
        R r=new R();
        r.setCode(200);
        r.setMsg("成功");
        return r;
    }
}
